function B = limit(A, limits)
%LIMIT limits a design point array to some maximum values

B = A(all(cell2mat(A(:, 1:length(limits))) < repmat(limits, [size(A, 1), 1]), 2), :);
